<?php
include './base.php';
$id=$_POST["id"];
$sql="delete from user where userId=${id}";
$res=mysql_query($sql);
print_r("删除成功!")
?>